package com.bwie.car.mapper;

import com.bwie.common.domain.Car;
import com.bwie.common.domain.request.CarRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface CarMapper {
    List<Car> showCar(CarRequest carRequest);

    Car findById(@Param("carId") String carId);

    Car findByGrade(Integer carId);
}
